package org.scirp.ijmis.dao.common.impl;

import java.util.List;

import org.scirp.ijmis.dao.base.impl.BaseDAOImpl;
import org.scirp.ijmis.dao.common.ILanguageDAO;
import org.scirp.ijmis.po.common.Language;

public class LanguageDAOImpl extends BaseDAOImpl<Language> implements ILanguageDAO {

	private static final String className = LanguageDAOImpl.class.toString();

	public List<Language> selectAll() {
		String hql = "from Language order by pid asc";
		return super.ExecuteQuery(hql, className + "-->selectAll");
	}

	public Language selectById(Object id) {
		return (Language) super.selectById(id, className + "-->selectById");
	}

}
